﻿<%@ Page Language="C#" MasterPageFile="~/admin_cms/admin_master.master" AutoEventWireup="true" CodeFile="Checkquyen.aspx.cs" Inherits="admin_cms_Checkquyen" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div class="all_khung_form1">
        <div class="top_khung_form1">
            <h5>
                Quản lý người dùng</h5>
        </div>
        <div class="chkquyen " style="float:left; margin-left:44px; margin-top:3px;">
          
        <div class="khung_form1 chkquyen">
            <h3>
                Chọn nhóm người dùng:
            </h3>
            <asp:RadioButtonList ID="RadioButtonList1" runat="server" class="txtform" RepeatColumns="2">
            </asp:RadioButtonList>
        </div>
        <div class=" khung_form1 chkquyen">
            <h3>
                Chọn quyền:
            </h3>
            <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="4">
            </asp:CheckBoxList>
            
        </div>
        <div class="khung_form1">
            <asp:Button ID="Button1" runat="server" Text="Thêm mới" OnClick="User_Insert" /><asp:Button
                ID="Button2" runat="server" Text="Update" />
        </div>
         <div class="all_khung_form3">
            <div class="griv_content">
                <asp:GridView ID="GrvGroupUser" runat="server" CssClass="mGrid" PagerStyle-CssClass="pgr"
                    Font-Size="12px" AutoGenerateColumns="false" AlternatingRowStyle-BackColor="#DFE2E4">
                    <Columns>
                        <asp:BoundField HeaderText="Nhóm người dùng" DataField="namegroup" />
                        <asp:BoundField HeaderText="Chức năng" DataField="descriptions" />
                    </Columns>
                    <Columns>
                        <asp:TemplateField HeaderText="Xóa">
                            <ItemTemplate>
                                <asp:ImageButton runat="server" ImageUrl="~/admin_cms/style/images/icons/small/grey/Acces Denied Sign.png"
                                    CssClass="grivimg" ID="imgxoa" CommandArgument='<%#Eval("idmodule") %> ' CommandName="X" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <Columns>
                        <asp:TemplateField HeaderText="Sửa">
                            <ItemTemplate>
                                <asp:ImageButton runat="server" ImageUrl="~/admin_cms/style/images/icons/small/grey/Create Write.png"
                                    ID="imgsua" CommandArgument='<%#Eval("idgroup") %> ' CommandName="S" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </div>
    </div>
   
</asp:Content>

